package com.ruoyi.oto.domain.vo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.oto.domain.CompanyCore;
import com.ruoyi.oto.domain.DemandsDepart;
import com.ruoyi.oto.domain.DemandsRecord;
import com.ruoyi.oto.domain.DemandsReply;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 诉求记录详情
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DemandsRecordDetailVO extends BaseEntity<DemandsRecordDetailVO> {
    /**
     * 诉求公司
     */
    private CompanyCore companyCore;
    /**
     * 诉求主体
     */
    private DemandsRecord demandsRecord;
    /**
     * 诉求参与的部门
     */
    private List<DemandsDepartAndReply> demandsDepartAndReplys;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class DemandsDepartAndReply {

        private DemandsDepart demandsDepart;

        private List<DemandsReply> demandsReplyList;
    }

}
